﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain.Workflow
{
    public class RootobjectXW
    {
        public NodeXW[] nodes { get; set; }
        public EdgeXW[] edges { get; set; }
    }

    public class NodeXW
    {
        public string id { get; set; }
        public string type { get; set; }
        public int x { get; set; }
        public int y { get; set; }
        public PropertiesXW properties { get; set; }
        public TextXW text { get; set; }
    }

    public class PropertiesXW
    {
        public string start { get; set; }
        public string CustomRect { get; set; }
        public string PropValue { get; set; }
    }

    public class TextXW
    {
        public int x { get; set; }
        public int y { get; set; }
        public string value { get; set; }
    }

    public class EdgeXW
    {
        public string id { get; set; }
        public string type { get; set; }
        public string sourceNodeId { get; set; }
        public string targetNodeId { get; set; }
        public StartpointXW startPoint { get; set; }
        public EndpointXW endPoint { get; set; }
        public Properties1XW properties { get; set; }
        public PointslistXW[] pointsList { get; set; }
    }

    public class StartpointXW
    {
        public int x { get; set; }
        public int y { get; set; }
    }

    public class EndpointXW
    {
        public int x { get; set; }
        public int y { get; set; }
    }

    public class Properties1XW
    {
    }

    public class PointslistXW
    {
        public int x { get; set; }
        public int y { get; set; }
    }
}
